error fixed

thanks @dervondenbergen