Fixed bug in lineup creation