fixed fatal error referencing unknown class