Fixed issues in Background Assignment