Finally works, error messages are lies