Edited no value exception