fixes bug in updated by and created by