fixing figures order