fix button type and assets load order