Thanks to Noel96. This got rid of the error message.