fixed create button causing a possible problem