get around what seems to be a bug in Agda