fixed a bug that led to a strict notice