fixed #6 added alert when maximum capacity reached