fix undefined selector