fixed typo and safety limit warning