refactor internships_controller
parse all states correctly
use try(:method) to avoid errors