Got rid of nasty error