fixed strong-typing
updated library to remove warnings