Bug with button types