Fixed em and security error on server load