fixed fatal error, fixes dioscouri/amritasingh-f3#16