fixing composer type