alias: add (and call) a check_state function to fix dynamically creating aliases...