fixed errors input select and comment method