FIX: input type in post controller