Fix stict error being thrown