Fix, cheers @ninjalulz

fixes #1303