Fixed bug where warning message showed when resource was being created