Fixed first third methods to handle emptys

Also now fits with new parse table. Enjoy.