teamp error handling for empty assignment