fixed bug in maker error checking code