properly return value from datadict