add more edge cases to injection prevention