removed useless state