Fixed some security stuff