added error handling
fixed skip last stage if left blank