Fixed types, thanks @shermozle